package org.br.erp.base.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 基础资料
 * @Author: jeecg-boot
 * @Date:   2024-03-16
 * @Version: V1.0
 */
@ApiModel(value="scmpartnerbase对象", description="基础资料")
@Data
@TableName("scmpartnerbase")
@Entity
public class Scmpartnerbase implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    @Id
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**客户分类*/
	@Excel(name = "客户分类", width = 15)
    @ApiModelProperty(value = "客户分类")
    private java.lang.String customertype;

    /**
     * 供应商分类
     */
    @Column(length = 100)
    private String vendortype;
	/**销售业务员*/
	@Excel(name = "销售业务员", width = 15)
    @ApiModelProperty(value = "销售业务员")
    private java.lang.String emptid;
	/**币种*/
	@Excel(name = "币种", width = 15)
    @ApiModelProperty(value = "币种")
    private java.lang.String currencyid;
	/**税率*/
	@Excel(name = "税率", width = 15)
    @ApiModelProperty(value = "税率")
    private java.lang.String taxrate;
	/**开户银行*/
	@Excel(name = "开户银行", width = 15)
    @ApiModelProperty(value = "开户银行")
    private java.lang.String bank;
	/**银行账号*/
	@Excel(name = "银行账号", width = 15)
    @ApiModelProperty(value = "银行账号")
    private java.lang.String bankno;
	/**纳税识别号*/
	@Excel(name = "纳税识别号", width = 15)
    @ApiModelProperty(value = "纳税识别号")
    private java.lang.String taxpayerno;
	/**公司地址*/
	@Excel(name = "公司地址", width = 15)
    @ApiModelProperty(value = "公司地址")
    private java.lang.String companyaddress;
	/**传真*/
	@Excel(name = "传真", width = 15)
    @ApiModelProperty(value = "传真")
    private java.lang.String faxno;
	/**公司法人*/
	@Excel(name = "公司法人", width = 15)
    @ApiModelProperty(value = "公司法人")
    private java.lang.String companyowner;
	/**电话号码*/
	@Excel(name = "电话号码", width = 15)
    @ApiModelProperty(value = "电话号码")
    private java.lang.String telno;
	/**联系人*/
	@Excel(name = "联系人", width = 15)
    @ApiModelProperty(value = "联系人")
    private java.lang.String linkman;

	/**职务*/
	@Excel(name = "职务", width = 15)
    @ApiModelProperty(value = "职务")
    private java.lang.String postby;
	/**手机号码*/
	@Excel(name = "手机号码", width = 15)
    @ApiModelProperty(value = "手机号码")
    private java.lang.String mobilno;

    @Column(length = 500)
    private String linkmanaddres;
	/**parentid*/
    @ApiModelProperty(value = "parentid")
    private java.lang.String parentid;
	/**信贷规则*/
	@Excel(name = "信贷规则", width = 15)
    @ApiModelProperty(value = "信贷规则")
    private java.lang.String creditrule;
	/**信贷额度*/
	@Excel(name = "信贷额度", width = 15)
    @ApiModelProperty(value = "信贷额度")
    private java.math.BigDecimal creditvalue;
	/**信贷期限*/
	@Excel(name = "信贷期限", width = 15)
    @ApiModelProperty(value = "信贷期限")
    private java.lang.Integer creditday;

    /**
     * 启用信用管理
     */
    @Column(length = 10)
    private String creditflag;
}
